TEMPLATE	= app
LANGUAGE	= C++

TARGET = viewerGL

CONFIG += debug_and_release
CONFIG += qt warn_on release console

CONFIG(debug, debug|release){
  DESTDIR = ../bin/
  UI_DIR  = ../build/debug/viewerGL
  MOC_DIR = ../build/debug/viewerGL
  OBJECTS_DIR = ../build/debug/viewerGL
  RCC_DIR = ../build/debug/viewerGL
} 
CONFIG(release, debug|release){
  DESTDIR = ../bin/
  UI_DIR  = ../build/release/viewerGL
  MOC_DIR = ../build/release/viewerGL
  OBJECTS_DIR = ../build/release/viewerGL
  RCC_DIR = ../build/release/viewerGL
}

QT += opengl

INCLUDEPATH +=  ./include \
				../osu3d/include/	\
				../osu3d/include/Geometry/ 	\
				../osu3d/include/Scene/		\
				../osu3d/include/OpenGL/	\
				../osu3d/include/Input/		\
				../osu3d/include/ModelLoaders/	\
				../osu3d/include/ExtLibs/		\
				../libs/glew/include 
				
LIBPATH  += ../bin/ \
		    ../libs/glew/lib
			
LIBS += ../bin/osu3d.lib \
		glew32.lib

INCLUDE = include
SOURCE  = src
FORM    = form

HEADERS	= $$INCLUDE/MainWindow.h \
		  $$INCLUDE/CameraTabWidget.h \
		  $$INCLUDE/RenderTabWidget.h \
		  $$INCLUDE/SceneTabWidget.h \
		  $$INCLUDE/ShadersTabWidget.h \
		  $$INCLUDE/GLWidget.h \
		  $$INCLUDE/SceneGL.h \
		  $$INCLUDE/SceneBCN.h \
		  $$INCLUDE/ObjectGL.h \
		  $$INCLUDE/ObjectBCN.h \
		  $$INCLUDE/ModelLoaderBCN.h 

SOURCES	= $$SOURCE/MainWindow.cpp \
		  $$SOURCE/CameraTabWidget.cpp \
		  $$SOURCE/RenderTabWidget.cpp \
		  $$SOURCE/SceneTabWidget.cpp \
		  $$SOURCE/ShadersTabWidget.cpp \
		  $$SOURCE/GLWidget.cpp \
		  $$SOURCE/SceneGL.cpp \
		  $$SOURCE/SceneBCN.cpp \
		  $$SOURCE/ObjectGL.cpp \
		  $$SOURCE/ObjectBCN.cpp \
		  $$SOURCE/ModelLoaderBCN.cpp \
		  $$SOURCE/main.cpp

FORMS	= $$FORM/cameraTab.ui \
		  $$FORM/renderTab.ui \
		  $$FORM/sceneTab.ui \
		  $$FORM/shadersTab.ui
